WINDOW_WIDTH = 800
WINDOW_HEIGHT = 600
FPS = 60

GRID_ROWS = 3
GRID_COLS = 3

HOLE_PADDING = 100  # 增大整体边距使洞集中在中间
HOLE_SPACING = 140  # 新增：洞之间的间距
HOLE_RADIUS = 50   # 保持洞的大小不变

MOLE_MIN_UP_MS = 800
MOLE_MAX_UP_MS = 1600

SPAWN_INTERVAL_MS = 700

BG_COLOR = (30, 30, 30)
HOLE_COLOR = (90, 60, 30)
MOLE_COLOR = (200, 160, 60)
MOLE_HIT_COLOR = (255, 80, 80)
FONT_COLOR = (240, 240, 240)

# 游戏时长（毫秒），例如 60 秒
GAME_DURATION_MS = 60_000

# 本地分数文件（相对于项目根或运行目录）
SCOREBOARD_FILE = "scores.json"

# Gameplay tuning
MAX_HP = 20
PROJECTILE_DURATION_MS = 700
EXPLOSION_DURATION_MS = 600

# Fever system
MAX_FEVER = 100
FEVER_GAIN_PER_SCORE = 5
FEVER_LOSS_PER_DAMAGE = 2
FEVER_TIME_DURATION_MS = 6000  # 6秒
